package com.example.tool.erp.sdk.api.wms.stockin.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class PreStockInResponse
{
	@SerializedName("total_count")
	private Integer total;
	@SerializedName("order")
	private List<OrderItem> orders;

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}

	public List<OrderItem> getOrders()
	{
		return orders;
	}

	public void setOrders(List<OrderItem> orders)
	{
		this.orders = orders;
	}

	public static class OrderItem
	{
		private	Integer	stockinId	;
		private	String	stockinNo	;
		private	String	warehouseNo	;
		private	String	srcOrderNo	;
		private	Integer	srcOrderType	;
		private	String	logisticsNo	;
		private	String	logisticsName	;
		private	Integer	status	;
		private BigDecimal goodsCount	;
		private	Integer	goodsTypeCount	;
		private	Integer	noteCount	;
		private	String	senderName	;
		private	String	senderMobile	;
		private	String	buyerNick	;
		private	String	flagName	;
		private	String	operatorName	;
		private	String	checkerName	;
		private	String	remark	;
		private	String	checkTime	;
		private	Long	created	;
		private	String	prop1	;
		private	String	prop2	;
		private	Integer	srcOrderId	;
		private	Integer	warehouseId	;
		private	Integer	logisticsId	;
		private	String	createdDate	;
		private	String	modifiedDate	;

		private	List<OrderDetailItem>	detailList	;

		public Integer getStockinId()
		{
			return stockinId;
		}

		public void setStockinId(Integer stockinId)
		{
			this.stockinId = stockinId;
		}

		public String getStockinNo()
		{
			return stockinNo;
		}

		public void setStockinNo(String stockinNo)
		{
			this.stockinNo = stockinNo;
		}

		public String getWarehouseNo()
		{
			return warehouseNo;
		}

		public void setWarehouseNo(String warehouseNo)
		{
			this.warehouseNo = warehouseNo;
		}

		public String getSrcOrderNo()
		{
			return srcOrderNo;
		}

		public void setSrcOrderNo(String srcOrderNo)
		{
			this.srcOrderNo = srcOrderNo;
		}

		public Integer getSrcOrderType()
		{
			return srcOrderType;
		}

		public void setSrcOrderType(Integer srcOrderType)
		{
			this.srcOrderType = srcOrderType;
		}

		public String getLogisticsNo()
		{
			return logisticsNo;
		}

		public void setLogisticsNo(String logisticsNo)
		{
			this.logisticsNo = logisticsNo;
		}

		public String getLogisticsName()
		{
			return logisticsName;
		}

		public void setLogisticsName(String logisticsName)
		{
			this.logisticsName = logisticsName;
		}

		public Integer getStatus()
		{
			return status;
		}

		public void setStatus(Integer status)
		{
			this.status = status;
		}

		public BigDecimal getGoodsCount()
		{
			return goodsCount;
		}

		public void setGoodsCount(BigDecimal goodsCount)
		{
			this.goodsCount = goodsCount;
		}

		public Integer getGoodsTypeCount()
		{
			return goodsTypeCount;
		}

		public void setGoodsTypeCount(Integer goodsTypeCount)
		{
			this.goodsTypeCount = goodsTypeCount;
		}

		public Integer getNoteCount()
		{
			return noteCount;
		}

		public void setNoteCount(Integer noteCount)
		{
			this.noteCount = noteCount;
		}

		public String getSenderName()
		{
			return senderName;
		}

		public void setSenderName(String senderName)
		{
			this.senderName = senderName;
		}

		public String getSenderMobile()
		{
			return senderMobile;
		}

		public void setSenderMobile(String senderMobile)
		{
			this.senderMobile = senderMobile;
		}

		public String getBuyerNick()
		{
			return buyerNick;
		}

		public void setBuyerNick(String buyerNick)
		{
			this.buyerNick = buyerNick;
		}

		public String getFlagName()
		{
			return flagName;
		}

		public void setFlagName(String flagName)
		{
			this.flagName = flagName;
		}

		public String getOperatorName()
		{
			return operatorName;
		}

		public void setOperatorName(String operatorName)
		{
			this.operatorName = operatorName;
		}

		public String getCheckerName()
		{
			return checkerName;
		}

		public void setCheckerName(String checkerName)
		{
			this.checkerName = checkerName;
		}

		public String getRemark()
		{
			return remark;
		}

		public void setRemark(String remark)
		{
			this.remark = remark;
		}

		public String getCheckTime()
		{
			return checkTime;
		}

		public void setCheckTime(String checkTime)
		{
			this.checkTime = checkTime;
		}

		public Long getCreated()
		{
			return created;
		}

		public void setCreated(Long created)
		{
			this.created = created;
		}

		public String getProp1()
		{
			return prop1;
		}

		public void setProp1(String prop1)
		{
			this.prop1 = prop1;
		}

		public String getProp2()
		{
			return prop2;
		}

		public void setProp2(String prop2)
		{
			this.prop2 = prop2;
		}

		public Integer getSrcOrderId()
		{
			return srcOrderId;
		}

		public void setSrcOrderId(Integer srcOrderId)
		{
			this.srcOrderId = srcOrderId;
		}

		public Integer getWarehouseId()
		{
			return warehouseId;
		}

		public void setWarehouseId(Integer warehouseId)
		{
			this.warehouseId = warehouseId;
		}

		public Integer getLogisticsId()
		{
			return logisticsId;
		}

		public void setLogisticsId(Integer logisticsId)
		{
			this.logisticsId = logisticsId;
		}

		public String getCreatedDate()
		{
			return createdDate;
		}

		public void setCreatedDate(String createdDate)
		{
			this.createdDate = createdDate;
		}

		public String getModifiedDate()
		{
			return modifiedDate;
		}

		public void setModifiedDate(String modifiedDate)
		{
			this.modifiedDate = modifiedDate;
		}

		public List<OrderDetailItem> getDetailList()
		{
			return detailList;
		}

		public void setDetailList(List<OrderDetailItem> detailList)
		{
			this.detailList = detailList;
		}
	}

	public static class OrderDetailItem
	{
		private	Integer	recId	;
		private	Integer	stockinId	;
		private	String	goodsName	;
		private	String	goodsNo	;
		private	String	specName	;
		private	String	specNo	;
		private	BigDecimal	num	;
		private	BigDecimal	num2	;
		private	BigDecimal	expectNum	;
		private	String	expireDate	;
		private	String	productionDate	;
		private	String	batchNo	;
		private	String	remark	;
		private	BigDecimal	weight	;
		private	BigDecimal	goodsWeight	;
		private	boolean	defect	;
		private	BigDecimal	unitRatio	;
		private	Integer	validityDays	;
		private	BigDecimal	needInspectNum	;
		private	String	unitName	;
		private	String	auxUnitName	;
		private	String	createdDate	;
		private	String	modifiedDate	;
		private	Integer	goodsId	;
		private	Integer	specId	;

		public Integer getRecId()
		{
			return recId;
		}

		public void setRecId(Integer recId)
		{
			this.recId = recId;
		}

		public Integer getStockinId()
		{
			return stockinId;
		}

		public void setStockinId(Integer stockinId)
		{
			this.stockinId = stockinId;
		}

		public String getGoodsName()
		{
			return goodsName;
		}

		public void setGoodsName(String goodsName)
		{
			this.goodsName = goodsName;
		}

		public String getGoodsNo()
		{
			return goodsNo;
		}

		public void setGoodsNo(String goodsNo)
		{
			this.goodsNo = goodsNo;
		}

		public String getSpecName()
		{
			return specName;
		}

		public void setSpecName(String specName)
		{
			this.specName = specName;
		}

		public String getSpecNo()
		{
			return specNo;
		}

		public void setSpecNo(String specNo)
		{
			this.specNo = specNo;
		}

		public BigDecimal getNum()
		{
			return num;
		}

		public void setNum(BigDecimal num)
		{
			this.num = num;
		}

		public BigDecimal getNum2()
		{
			return num2;
		}

		public void setNum2(BigDecimal num2)
		{
			this.num2 = num2;
		}

		public BigDecimal getExpectNum()
		{
			return expectNum;
		}

		public void setExpectNum(BigDecimal expectNum)
		{
			this.expectNum = expectNum;
		}

		public String getExpireDate()
		{
			return expireDate;
		}

		public void setExpireDate(String expireDate)
		{
			this.expireDate = expireDate;
		}

		public String getProductionDate()
		{
			return productionDate;
		}

		public void setProductionDate(String productionDate)
		{
			this.productionDate = productionDate;
		}

		public String getBatchNo()
		{
			return batchNo;
		}

		public void setBatchNo(String batchNo)
		{
			this.batchNo = batchNo;
		}

		public String getRemark()
		{
			return remark;
		}

		public void setRemark(String remark)
		{
			this.remark = remark;
		}

		public BigDecimal getWeight()
		{
			return weight;
		}

		public void setWeight(BigDecimal weight)
		{
			this.weight = weight;
		}

		public BigDecimal getGoodsWeight()
		{
			return goodsWeight;
		}

		public void setGoodsWeight(BigDecimal goodsWeight)
		{
			this.goodsWeight = goodsWeight;
		}

		public boolean isDefect()
		{
			return defect;
		}

		public void setDefect(boolean defect)
		{
			this.defect = defect;
		}

		public BigDecimal getUnitRatio()
		{
			return unitRatio;
		}

		public void setUnitRatio(BigDecimal unitRatio)
		{
			this.unitRatio = unitRatio;
		}

		public Integer getValidityDays()
		{
			return validityDays;
		}

		public void setValidityDays(Integer validityDays)
		{
			this.validityDays = validityDays;
		}

		public BigDecimal getNeedInspectNum()
		{
			return needInspectNum;
		}

		public void setNeedInspectNum(BigDecimal needInspectNum)
		{
			this.needInspectNum = needInspectNum;
		}

		public String getUnitName()
		{
			return unitName;
		}

		public void setUnitName(String unitName)
		{
			this.unitName = unitName;
		}

		public String getAuxUnitName()
		{
			return auxUnitName;
		}

		public void setAuxUnitName(String auxUnitName)
		{
			this.auxUnitName = auxUnitName;
		}

		public String getCreatedDate()
		{
			return createdDate;
		}

		public void setCreatedDate(String createdDate)
		{
			this.createdDate = createdDate;
		}

		public String getModifiedDate()
		{
			return modifiedDate;
		}

		public void setModifiedDate(String modifiedDate)
		{
			this.modifiedDate = modifiedDate;
		}

		public Integer getGoodsId()
		{
			return goodsId;
		}

		public void setGoodsId(Integer goodsId)
		{
			this.goodsId = goodsId;
		}

		public Integer getSpecId()
		{
			return specId;
		}

		public void setSpecId(Integer specId)
		{
			this.specId = specId;
		}
	}
}

